<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      AccountsService-0.6.55
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;12.&nbsp;System Utilities
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="sysutils.html" title=
          "System Utilities">Prev</a>
          <p>
            System Utilities
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="acpid.html" title="acpid-2.0.32">Next</a>
          <p>
            acpid-2.0.32
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="sysutils.html" title=
          "Chapter&nbsp;12.&nbsp;System Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="accountsservice" name=
        "accountsservice"></a>AccountsService-0.6.55
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to AccountsService
        </h2>
        <p>
          The <span class="application">AccountsService</span> package
          provides a set of <span class="application">D-Bus</span> interfaces
          for querying and manipulating user account information and an
          implementation of those interfaces based on the usermod(8),
          useradd(8) and userdel(8) commands.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://www.freedesktop.org/software/accountsservice/accountsservice-0.6.55.tar.xz">
                https://www.freedesktop.org/software/accountsservice/accountsservice-0.6.55.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 6e4c6fbd490260cfe17de2e76f5d803a
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 96 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 10 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          AccountsService Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="libgcrypt.html" title=
          "libgcrypt-1.8.5">libgcrypt-1.8.5</a> and <a class="xref" href=
          "../postlfs/polkit.html" title="Polkit-0.116">Polkit-0.116</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="gobject-introspection.html" title=
          "gobject-introspection-1.62.0">gobject-introspection-1.62.0</a> and
          <span class="phrase"><a class="xref" href="elogind.html" title=
          "elogind-243.4">elogind-243.4</a></span>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a> and <a class="xref" href=
          "../pst/xmlto.html" title="xmlto-0.0.28">xmlto-0.0.28</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/accountsservice">http://wiki.linuxfromscratch.org/blfs/wiki/accountsservice</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of AccountsService
        </h2>
        <p>
          Install <span class="application">AccountsService</span> by running
          the following commands:
        </p>
        <pre class="userinput">
<kbd class="command">mkdir build &amp;&amp;
cd build &amp;&amp;

meson --prefix=/usr                   \
            -Dadmin_group=adm         \
            -Delogind=true            \
            -Dsystemdsystemunitdir=no \
            .. &amp;&amp;
ninja</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">ninja install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>-Dadmin_group=adm</code></em>: This
          switch sets the group for administrator accounts.
        </p>
        <p>
          <code class="option">-Ddocbook=true</code>: This switch enables
          building the D-Bus interface API documentation.
        </p>
      </div>
      <div class="configuration" lang="en" xml:lang="en">
        <h2 class="sect2">
          Configuring AccountsService
        </h2>
        <p>
          To allow users in the adm group to be listed as Administrators,
          execute the following commands as the <code class=
          "systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class=
"command">cat &gt; /etc/polkit-1/rules.d/40-adm.rules &lt;&lt; "EOF"
<code class="literal">polkit.addAdminRule(function(action, subject) {
   return ["unix-group:adm"];
   });</code>
EOF</kbd>
</pre>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3">
            <a id="accountsservice-init" name="accountsservice-init"></a>
          </h3>
          <h4 class="title">
            <a id="accountsservice-init" name=
            "accountsservice-init"></a><span class="phrase">Boot
            Script</span>
          </h4>
          <p>
            To start the <span class=
            "command"><strong>accounts-daemon</strong></span> daemon at boot,
            install the <code class=
            "filename">/etc/rc.d/init.d/accounts-daemon</code> init script
            from the <a class="xref" href="../introduction/bootscripts.html"
            title="BLFS Boot Scripts">blfs-bootscripts-20191204</a> package
            by running the following command as the <code class=
            "systemitem">root</code> user:
          </p>
          <pre class="root">
<kbd class="command">make install-accounts-daemon</kbd>
</pre>
        </div>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">accounts-daemon (library
              executable)</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libaccountsservice.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/accountsservice-1.0,
              /usr/share/doc/accountsservice,
              /usr/share/gtk-doc/html/libaccountsservice, and
              /var/lib/AccountsService</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="accounts-daemon" name=
                    "accounts-daemon"></a><span class="term"><span class=
                    "command"><strong>accounts-daemon</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the <span class="application">AccountsService</span>
                    daemon.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libaccountsservice" name=
                    "libaccountsservice"></a><span class="term"><code class=
                    "filename">libaccountsservice.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class=
                    "application">AccountsService</span> API functions.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-19 08:47:37 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="sysutils.html" title=
          "System Utilities">Prev</a>
          <p>
            System Utilities
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="acpid.html" title="acpid-2.0.32">Next</a>
          <p>
            acpid-2.0.32
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="sysutils.html" title=
          "Chapter&nbsp;12.&nbsp;System Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
